package com.xbongbong.parent.explain;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.parent.abstracts.AbstractFormExplainHandleName;
import com.xbongbong.pro.formexplain.pojo.dto.HandlerExplainDTO;
import com.xbongbong.pro.formexplain.pojo.vo.HandlerExplainVO;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author: wufeng
 * @date: 2018/11/13 15:47
 * @desrcption: 表单数据列表过滤字段
 */
@Component
public class FormDataListFormExplainHandleName extends AbstractFormExplainHandleName {

    @Resource
    private HandleExplainHelp handleExplainHelp;

    @Override
    public HandlerExplainVO handleExplain(HandlerExplainDTO handlerExplainDTO) throws XbbException {
        HandlerExplainVO handlerExplainVO = handleExplainHelp.handleExplain(handlerExplainDTO);
        return handleExplainDefaultLimit(handlerExplainVO, handlerExplainDTO);
    }

}
